package pers.zh.parking.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import pers.zh.parking.di.module.EvalModule;
import pers.zh.parking.mvp.contract.EvalContract;

import com.jess.arms.di.scope.ActivityScope;

import pers.zh.parking.mvp.ui.activity.EvalActivity;

@ActivityScope
@Component(modules = EvalModule.class, dependencies = AppComponent.class)
public interface EvalComponent {

    void inject(EvalActivity activity);

    @Component.Builder
    interface Builder {

        @BindsInstance
        EvalComponent.Builder view(EvalContract.View view);

        EvalComponent.Builder appComponent(AppComponent appComponent);

        EvalComponent build();
    }
}